package com.wicket.okrcomponent.base.service.dto.common;




import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;


/**
 * @desc ConfItemDto
 * @使用场景
 */
@Data
public class ConfItemDto extends BaseDto implements Serializable {

    /**
     * 配置项ID:
     */
    @ApiModelProperty("配置项ID")
    private String confItemId;

    /**
     * 配置项简称:
     */
    @ApiModelProperty("配置项简称")
    private String shortName;

    /**
     * 配置项标识:
     */
    @ApiModelProperty("配置项标识")
    private String confItemCode;

    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 操作人就职记录ID:
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 操作时间:
     */
    @ApiModelProperty("操作时间")
    private Date operationTime;
    /**
     * 选项类型:
     */
    @ApiModelProperty("选项类型")
    private String confItemCategory;
    /**
     * 是否存档
     */
    @ApiModelProperty("是否存档")
    private String isArchive;
/**
     * 操作时间 
     */
    @ApiModelProperty("操作时间")
    private Date	 operateTime;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      ConfItemDto that = (ConfItemDto) o;
      return  confItemId == that.confItemId&&shortName == that.shortName&&confItemCode == that.confItemCode&&subjectLifeCycle == that.subjectLifeCycle&&operationInductionId == that.operationInductionId&&operationTime == that.operationTime&&confItemCategory == that.confItemCategory&&isArchive == that.isArchive&&operateTime == that.operateTime;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), confItemId,shortName,confItemCode,subjectLifeCycle,operationInductionId,operationTime,confItemCategory,isArchive,operateTime);
    }

}
